HTMLify
Dice Game
Views: 354 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <html> <head> <link rel="stylesheet" href="style.css"> <title>Dice Game</title> </head> <body> <div class="container"> <h1 id="message">Player 1 Turn</h1> <div class="players"> <div id="player1"> <h1>Score: <span id="player1Scoreboard">0</span> </h1> <div id="player1Dice" class="dice active">-</div> </div> <div id="player2"> <h1>Score: <span id="player2Scoreboard">0</span> </h1> <div id="player2Dice" class="dice">-</div> </div> </div> <button id="rollBtn">Roll Dice 🎲</button> <button id="resetBtn">Reset Game 🔁</button> </div> <script src="script.js"></script> </body> </html> |